<!DOCTYPE html><html><!--STATUS OK--><head><meta http-equiv="X-UA-Compatible" content="IE=Edge" /><meta charset="utf-8" /><meta name="referrer" content="always" /><title>
docker如何导入导出镜像_互联网-百度经验</title><link rel="shortcut icon" href="/favicon.ico?v=20171030" type="image/x-icon" /><link rel="icon" sizes="any" mask href="//exp.bdstatic.com/static/common-jquery/widget/img-baidu-com/baidu_icon_85beaf5.svg">
<script>
    window.alogObjectConfig = {
        sample: '1',
 
        product: '132',  
        page: '132_1510',  
 
        speed: {
            sample: '0.12'   
        },
 
        monkey: {
            sample: '0.12'   
        },
 
        exception: { 
            sample: '0.12'   
        },
 
        feature: {
            sample: '0.12'   
        },
 
        cus: {
            sample: '0'   
        },
 
        csp: {
            sample: '0.12',  
            'default-src': [
                {match: '*bae.baidu.com', target: 'Accept,Warn'},
                {match: '*.baidu.com,*.bdstatic.com,*.baidustatic.com,*.baiduimg.com,*.bdimg.com,localhost,*.hao123.com,*.hao123img.com,*.baidubce.com', target: 'Accept'},
                {match: /^(127|172|192|10)(\.\d+){3}$/, target: 'Accept'},
                {match: '*', target: 'Accept,Warn'}
            ]
        }
    };
 
     void function(a,b,c,d,e,f,g){a.alogObjectName=e,a[e]=a[e]||function(){(a[e].q=a[e].q||[]).push(arguments)},a[e].l=a[e].l||+new Date,d="https:"===a.location.protocol?"https://fex.bdstatic.com"+d:"http://fex.bdstatic.com"+d;var h=!0;if(a.alogObjectConfig&&a.alogObjectConfig.sample){var i=Math.random();a.alogObjectConfig.rand=i,i>a.alogObjectConfig.sample&&(h=!1)}h&&(f=b.createElement(c),f.async=!0,f.src=d+"?v="+~(new Date/864e5)+~(new Date/864e5),g=b.getElementsByTagName(c)[0],g.parentNode.insertBefore(f,g))}(window,document,"script","/hunter/alog/alog.min.js","alog"),void function(){function a(){}window.PDC={mark:function(a,b){alog("speed.set",a,b||+new Date),alog.fire&&alog.fire("mark")},init:function(a){alog("speed.set","options",a)},view_start:a,tti:a,page_ready:a}}();
    void function(n){var o=!1;n.onerror=function(n,e,t,c){var i=!0;return!e&&/^script error/i.test(n)&&(o?i=!1:o=!0),i&&alog("exception.send","exception",{msg:n,js:e,ln:t,col:c}),!1},alog("exception.on","catch",function(n){alog("exception.send","exception",{msg:n.msg,js:n.path,ln:n.ln,method:n.method,flag:"catch"})})}(window);
</script>

<meta itemprop="dateUpdate" content="2017-10-16 09:59:43" />

<meta name="keywords" content='docker如何导入导出镜像,互联网,游戏/数码'/>

<meta name="description" content="docker如何导入导出镜像,如果服务器网路不好或者ull不下来镜像，只能在其它网路比较好的机器上ull下来镜像，导出成一个文件，再下载上传到网路不好的机器上，然后再从文件中导出来，这样在网络不好的机器上也能使用docker镜像了"/>
<script type="text/javascript">!function(){var n={},e={};n.context=function(n,r){var t=arguments.length;if(t>1)e[n]=r;else if(1==t){if("object"!=typeof n)return e[n];for(var i in n)n.hasOwnProperty(i)&&(e[i]=n[i])}else if(0==t)return e},"F"in window||(window.F=n)}();;</script><!--[if lt IE 9]><script type="text/javascript" src="/static/common/tool/html5.js"></script><![endif]--><script>var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "//hm.baidu.com/hm.js?46c8852ae89f7d9526f0082fafa15edd"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();</script><link rel="stylesheet" type="text/css" href="//exp.bdstatic.com/static/common/pkg/common_sync_css_0_137f5f9.css"/><link rel="stylesheet" type="text/css" href="//exp.bdstatic.com/static/common/pkg/common_async_css_0_c8d78e9.css"/><link rel="stylesheet" type="text/css" href="//exp.bdstatic.com/static/step/pkg/step_09ac038.css"/><link rel="stylesheet" type="text/css" href="//exp.bdstatic.com/static/activity/widget/ui/redbox/redbox_9454f10.css"/><link rel="stylesheet" type="text/css" href="//exp.bdstatic.com/static/common-jquery/widget/js/ui/favor/favor_ee7602f.css"/><link rel="stylesheet" type="text/css" href="//exp.bdstatic.com/static/common-jquery/pkg/common_c5a8df0.css"/><link rel="stylesheet" type="text/css" href="//exp.bdstatic.com/static/common-jquery/pkg/special-msg_d02dba8.css"/><link rel="stylesheet" type="text/css" href="//exp.bdstatic.com/static/common-jquery/widget/js/logic/msg/go-and-see/go-and-see_d818767.css"/><link rel="stylesheet" type="text/css" href="//exp.bdstatic.com/static/common-jquery/widget/js/logic/msg/douniwan/douniwan_6ec14e6.css"/><link rel="stylesheet" type="text/css" href="//exp.bdstatic.com/static/common-jquery/widget/js/logic/msg/school2016/school2016_b4c6cb1.css"/><link rel="stylesheet" type="text/css" href="//exp.bdstatic.com/static/common-jquery/widget/js/logic/msg/badge/badge_2385538.css"/><link rel="stylesheet" type="text/css" href="//exp.bdstatic.com/static/common-jquery/widget/js/logic/msg/super-2016/super-2016_46f8488.css"/><link rel="stylesheet" type="text/css" href="//exp.bdstatic.com/static/common-jquery/widget/js/logic/msg/marathon/marathon_d00c0a0.css"/><link rel="stylesheet" type="text/css" href="//exp.bdstatic.com/static/common-jquery/widget/js/logic/msg/redbox-video/redbox-video_68a545b.css"/><link rel="stylesheet" type="text/css" href="//exp.bdstatic.com/static/common-jquery/widget/js/logic/msg/prize2017/prize2017_99af780.css"/><link rel="stylesheet" type="text/css" href="//exp.bdstatic.com/static/common-jquery/widget/js/logic/msg/freshman/freshman_6f491b2.css"/><link rel="stylesheet" type="text/css" href="//exp.bdstatic.com/static/common-jquery/widget/js/logic/msg/msg_8ee3316.css"/><link rel="stylesheet" type="text/css" href="//exp.bdstatic.com/static/common-jquery/widget/js/logic/msg/amazing-2016/amazing-2016_b458231.css"/><link rel="stylesheet" type="text/css" href="//exp.bdstatic.com/static/common-jquery/pkg/jquery-ui_ebd8777.css"/></head><script> 
	if(typeof(alog) !== 'undefined') {
		alog('speed.set', 'ht', +new Date); 
	}
</script>
<body class=""><header class="header">
<div class="top clearfix">
<div class="top-left">
<a href="/article/ce436649379e0a3772afd354.html" class="back" log="type:2016,module:step,page:index,pos:header_back,action:click"></a>
</div>
<div class="top-right">
<ul class="options clearfix">
<li>
<a href="javascript:;" id="vote-btn" class="vote" log="type:2016,module:step,page:index,pos:header_vote,action:click">
<b class="num">15</b>
<b class="hover-tip">投票</b>
<b class="tip">已投票</b>
</a>
</li>
<li>
<a href="javascript:;" id="favor-btn" class="favor" log="type:2016,module:step,page:index,pos:header_favor,action:click">
<b class="num">7</b>
<b class="hover-tip">收藏+1</b>
<b class="tip">已收藏</b>
</a>
</li>
</ul>
</div>
<div class="title" id="exp-title">
<h1>
docker如何导入导出镜像
<div class="audio-wp" data-title='' data-text='' data-for=''>
<span class="audio-inner">
<span class="audio-icon"></span><span class="audio-icon-2"></span><span class="audio-icon-3"></span></span>
<span class="desc">听语音</span>
</div>
</h1>
</div>
<form action="/search" name="step-search-form" method="get" id="step-search-form" class="step-search-form">
<input class="keyword" id="keyword" autocomplete="off" maxlength="256" tabindex="1" size="23" name="word" placeholder="请输入搜索内容" value="" />
<input type="submit" class="submitBtn" value="搜索经验" />
</form>
</div>
</header>
<div class="waiting-step-loading" id="waiting-step-loading">
<div class="tip-placehoder"></div>
<div class="loading-tip">
<p class="exp-tip">
百度经验</p>
<p class="loading-data-tip">
页面数据加载中...</p>
</div>
</div>
<section class="body-wrapper"><section class="body" id="body">
<div class="step-container">
<div class="left-cover" id="left-cover">
<div class="previous-arrow"></div>
</div>
<div class="step-play-container" id="step-play-container">
<div class="step-play-list" id="step-play-list">
<div class="step-item-container step-item-brief clearfix" id="step-item-0">
<div class="writer-info left" id="brief-writer-info">
<div class='place_holder' style='height: 13%'></div>
<div class="writer-info-inner" style="height: 74%;position: relative">
<div class="writer-portrait">
<a href="/user/npublic?uid=a25345329cf993edd30f149b" target="_blank" title="gg_gl_hf" class="writer-portrait-container">
<img src="https://himg.bdimg.com/sys/portrait/item/10f767675f676c5f6866b403" title="gg_gl_hf" width="87px" height="87px" alt="gg_gl_hf" />
<div class="portrait-cover"></div>
</a>
</div>
<div class="writer-basic">
<div class="writer-basic-name">
gg_gl_hf
</div>
<div class="icon-wrp">
<div class="icon-huiz">
<a class="u-icon cpm3" title="签约作者" href="/help?page=income-author" target="_blank" rel="nofollow"></a>
</div>
</div>
</div>
</div>
<div class='place_holder' style='height: 13%'></div>
</div>
<div class="brief-info left">
<div class="topright"></div>
<div class="bottomright"></div>
<div class="place_holder" style="height:9%"></div>
<div class="brief-info-inner brief-info-inner-withoutimg clearfix" style="height: 70%">
<div class="brief-info-text left">
<span class="left-quote" id="brief-left-quote"></span>
<div class="step-text-wrapper brief-text-area" texttype="brief-text-area" id="step-text-wrapper-0">
<p>如果服务器网路不好或者pull不下来镜像，只能在其它网路比较好的机器上pull下来镜像，导出成一个文件，再下载上传到网路不好的机器上，然后再从文件中导出来，这样在网络不好的机器上也能使用docker镜像了</p>
</div>
<span class="right-quote" id="brief-right-quote"></span>
</div>
</div>
<div class="place_holder" style="height: 15%"></div>
</div>
</div>
<div class="step-item-container" id="step-item-1">
<div class="place_holder" style="height:9%"></div>
<div class="step-item-textimg-inner clearfix" style="height:82%">
<section class="step-text-container left">
<header>
<h3 class="step-item-header">
<span class="current-order-in-step">1</span>/6
</h3>
</header>
<div class="step-text-wrapper img-text-area" texttype="img-text-area" id="step-text-wrapper-1">
<p>使用<strong>docker images</strong>查看本机所有的镜像文件</p>
</div>
</section>
<section class="step-img-container left">


<div class="step-img-wrapper step-one-img" stepType="step-one-img" imgLoaded=0>
<div class="img-cover">
<div class="inner-img-cover" data-src="f7426d8da977391257254b04f3198618367ae212"></div>
<img src="//jingyan.baidu.com/static/exp_loading.gif" data-src="https://imgsa.baidu.com/exp/w=480/sign=2d038b9a30c79f3d8fe1e5388aa0cdbc/0e2442a7d933c895357d561eda1373f082020050.jpg" />
</div>
</div>
</section>
</div>
<div class="place_holder" style="height: 9%"></div>
</div>
<div class="step-item-container" id="step-item-2">
<div class="place_holder" style="height:9%"></div>
<div class="step-item-textimg-inner clearfix" style="height:82%">
<section class="step-text-container left">
<header>
<h3 class="step-item-header">
<span class="current-order-in-step">2</span>/6
</h3>
</header>
<div class="step-text-wrapper img-text-area" texttype="img-text-area" id="step-text-wrapper-2">
<p>docker save eb40dcf64078&gt; /root/mydjango-save-1016.tar&nbsp; 将镜像保存为本地文件，其中eb40dcf64078为image id</p>
</div>
</section>
<section class="step-img-container left">
<div class="step-img-wrapper step-one-img" stepType="step-one-img" imgLoaded=0>
<div class="img-cover">
<div class="inner-img-cover" data-src="0865b518972bd40789c01a9870899e510fb30915"></div>
<img src="//jingyan.baidu.com/static/exp_loading.gif" data-src="https://imgsa.baidu.com/exp/w=480/sign=91cf1cab9225bc312b5d00906ede8de7/3ac79f3df8dcd100069b3144798b4710b9122f54.jpg" />
</div>
</div>
</section>
</div>
<div class="place_holder" style="height: 9%"></div>
</div>
<div class="step-item-container" id="step-item-3">
<div class="place_holder" style="height:9%"></div>
<div class="step-item-textimg-inner clearfix" style="height:82%">
<section class="step-text-container left">
<header>
<h3 class="step-item-header">
<span class="current-order-in-step">3</span>/6
</h3>
</header>
<div class="step-text-wrapper img-text-area" texttype="img-text-area" id="step-text-wrapper-3">
<p>将保存到本地的文件上传到不能pull的服务器上，网络是相通的我这里直接使用的是scp命令</p>
</div>
</section>
<section class="step-img-container left">
<div class="step-img-wrapper step-one-img" stepType="step-one-img" imgLoaded=0>
<div class="img-cover">
<div class="inner-img-cover" data-src="3bb22487e950352aff5ded6d5843fbf2b2118b5c"></div>
<img src="//jingyan.baidu.com/static/exp_loading.gif" data-src="https://imgsa.baidu.com/exp/w=480/sign=bed7da2a952f07085f052b08d924b865/9922720e0cf3d7ca42caf713f91fbe096b63a993.jpg" />
</div>
</div>
</section>
</div>
<div class="place_holder" style="height: 9%"></div>
</div>
<div class="step-item-container" id="step-item-4">
<div class="place_holder" style="height:9%"></div>
<div class="step-item-textimg-inner clearfix" style="height:82%">
<section class="step-text-container left">
<header>
<h3 class="step-item-header">
<span class="current-order-in-step">4</span>/6
</h3>
</header>
<div class="step-text-wrapper img-text-area" texttype="img-text-area" id="step-text-wrapper-4">
<p>使用load方法加载刚才上传的tar文件</p><p>docker load &lt; /root/mydjango-save-1016.tar&nbsp;&nbsp;</p>
</div>
</section>
<section class="step-img-container left">
<div class="step-img-wrapper step-one-img" stepType="step-one-img" imgLoaded=0>
<div class="img-cover">
<div class="inner-img-cover" data-src="08b68e529822720e98e9559c70cb0a46f21fab76"></div>
<img src="//jingyan.baidu.com/static/exp_loading.gif" data-src="https://imgsa.baidu.com/exp/w=480/sign=9755faa6fc36afc30e0c3e6d8319eb85/4d086e061d950a7b9612f9a201d162d9f2d3c9b5.jpg" />
</div>
</div>
</section>
</div>
<div class="place_holder" style="height: 9%"></div>
</div>
<div class="step-item-container" id="step-item-5">
<div class="place_holder" style="height:9%"></div>
<div class="step-item-textimg-inner clearfix" style="height:82%">
<section class="step-text-container left">
<header>
<h3 class="step-item-header">
<span class="current-order-in-step">5</span>/6
</h3>
</header>
<div class="step-text-wrapper img-text-area" texttype="img-text-area" id="step-text-wrapper-5">
<p>在新的机器上再此使用docker images命令查看本机的镜像，检查刚才load的镜像有没有加载进来，发现加载进来的镜像名称、标签均为none，使用docker tag <strong>eb40dcf64078 </strong>django:latest 修改为原来的镜像名称和标签名称，其中eb40dcf64078 为images id</p>
</div>
</section>
<section class="step-img-container left">
<div class="step-img-wrapper step-one-img" stepType="step-one-img" imgLoaded=0>
<div class="img-cover">
<div class="inner-img-cover" data-src="f15e24292df5e0fe72f23867576034a85fdf72ab"></div>
<img src="//jingyan.baidu.com/static/exp_loading.gif" data-src="https://imgsa.baidu.com/exp/w=480/sign=322e537c6b59252da3171c0c049a032c/2fdda3cc7cd98d10ea3ebd572a3fb80e7aec90ea.jpg" />
</div>
</div>
</section>
</div>
<div class="place_holder" style="height: 9%"></div>
</div>
<div class="step-item-container" id="step-item-6">
<div class="place_holder" style="height:9%"></div>
<div class="step-item-textimg-inner clearfix" style="height:82%">
<section class="step-text-container left">
<header>
<h3 class="step-item-header">
<span class="current-order-in-step">6</span>/6
</h3>
</header>
<div class="step-text-wrapper img-text-area" texttype="img-text-area" id="step-text-wrapper-6">
<p>使用docker run -itd django:latest加载进行，验证镜像是否能够成功的“run”</p>
</div>
</section>
<section class="step-img-container left">
<div class="step-img-wrapper step-one-img" stepType="step-one-img" imgLoaded=0>
<div class="img-cover">
<div class="inner-img-cover" data-src="4075890a304e251f9c74549eac86c9177e3e5391"></div>
<img src="//jingyan.baidu.com/static/exp_loading.gif" data-src="https://imgsa.baidu.com/exp/w=480/sign=a48adcd4b9b7d0a27bc90595fbee760d/3b292df5e0fe9925b58fd9363fa85edf8cb171d0.jpg" />
</div>
</div>
</section>
</div>
<div class="place_holder" style="height: 9%"></div>
</div>
<div class="step-item-container step-item-recommand" id="step-item-7">
<div class="place_holder" style="height:9%"></div>
<div class="step-recommand-inner" style="height: 72%;">
<div class="replay">
<dl class="clearfix">
<dt class="replay-img left">
<a class="replay-img-container" href="javascript:;" id="replay-step-e">
<img class="recommand-img" alt="docker如何导入导出镜像" src="//jingyan.baidu.com/static/exp_loading.gif" data-src="https://imgsa.baidu.com/exp/whcrop=160,120/sign=97b352223212b31bc7399b6be9680b4b/0e2442a7d933c895357d561eda1373f082020050.jpg" width="160px" height="120px">
<div class="img-border"></div>
</a>
</dt>
<dd class="replay-title left">
<h4>
docker如何导入导出镜像
</h4>
<a href="javascript:;" id="replay-step" class="replay-step">[重新阅读]</a>
</dd>
</dl>
</div>
<div class="recommand-list clearfix" id="recommend-list-container"></div>
</div>
<div class="place_holder" style="height: 14%"></div>
</div></div>
</div>
<div class="right-cover" id="right-cover">
<div class="next-arrow"></div>
</div>
</div>
</section></section><footer class="footer">
<script>
    void function(e,t){for(var n=t.getElementsByTagName("img"),a=+new Date,i=[],o=function(){this.removeEventListener&&this.removeEventListener("load",o,!1),i.push({img:this,time:+new Date})},s=0;s< n.length;s++)!function(){var e=n[s];e.addEventListener?!e.complete&&e.addEventListener("load",o,!1):e.attachEvent&&e.attachEvent("onreadystatechange",function(){"complete"==e.readyState&&o.call(e,o)})}();alog("speed.set",{fsItems:i,fs:a})}(window,document);
</script>
<div class="step-pager" id="step-pager">
<ul id="step-pager-list" class="clearfix"><li class="steppager-item step"><a href="javascript:;" class="step-cover" step-index=0>封</a></li><li class="steppager-item step"><a href="javascript:;" class="preview" data="使用docker images查看本机所有的镜像..." data-type="0" step-index=1>1</a></li><li class="steppager-item step"><a href="javascript:;" class="preview" data="docker save eb40dcf64078..." data-type="0" step-index=2>2</a></li><li class="steppager-item step"><a href="javascript:;" class="preview" data="将保存到本地的文件上传到不能pull的服务器上，..." data-type="0" step-index=3>3</a></li><li class="steppager-item step"><a href="javascript:;" class="preview" data="使用load方法加载刚才上传的tar文件dock..." data-type="0" step-index=4>4</a></li><li class="steppager-item step"><a href="javascript:;" class="preview" data="在新的机器上再此使用docker images命..." data-type="0" step-index=5>5</a></li><li class="steppager-item step"><a href="javascript:;" class="preview" data="使用docker run -itd django..." data-type="0" step-index=6>6</a></li><li class="steppager-item step"><a href="javascript:;" class="step-last" step-index=7>尾</a></li></ul>
</div>
</footer>
<script type="text/javascript">
    (function() {
        //解决ie图片缓存闪烁问题
        try {
            document.execCommand("BackgroundImageCache", false, true);
        } catch(err) {}
    })();
    //异步接口集
    F.context({
        //与个人相关
        'submit_follow' : '/submit/follow',
        'submit_vote' : '/submit/vote',
        'submit_author' : '/submit/author',
        'submit_user' : '/submit/user',
        'submit_favor' : '/submit/favor',
        'submit_notice' : '/submit/notice',
        //公共的异步接口部分
        'common_isLogin' : '/common/isLogin',
        'common_isVersionExist' : '/common/isVersionExist',
        'common_isTitleValid' : '/common/isTitleValid',
        'common_needToTitle' : '/common/needToTitle',
        'asyncreq' : '/asyncreq',
        //评论相关
        'cid' : '36',
        'submit_comment' : '/submit/comment',
        'submit_feedback' : '/submit/exp'
    });
</script>

<script type="text/javascript">
        F.context({
            "BdStoken" : "2393eef99ebcce49e5da8ac6b46f0408",
            "bdstt" : "1590231460",
        });
        F.context('BFEType', '2');
    </script>
<script>
	if(typeof(alog) !== 'undefined'){
    	alog('speed.set', 'drt', +new Date); 
    }//请利用js框架在domreday时调用该代码，或在body的尾部
</script>
<script>
    void function(a,b,c,d,e,f){function g(b){a.attachEvent?a.attachEvent("onload",b,!1):a.addEventListener&&a.addEventListener("load",b)}function h(a,c,d){d=d||15;var e=new Date;e.setTime((new Date).getTime()+1e3*d),b.cookie=a+"="+escape(c)+";path=/;expires="+e.toGMTString()}function i(a){var c=b.cookie.match(new RegExp("(^| )"+a+"=([^;]*)(;|$)"));return null!=c?unescape(c[2]):null}function j(){var a=i("PMS_JT");if(a){h("PMS_JT","",-1);try{a=a.match(/{["']s["']:(\d+),["']r["']:["']([\s\S]+)["']}/),a=a&&a[1]&&a[2]?{s:parseInt(a[1]),r:a[2]}:{}}catch(c){a={}}a.r&&b.referrer.replace(/#.*/,"")!=a.r||alog("speed.set","wt",a.s)}}if(a.alogObjectConfig){var k=a.alogObjectConfig.sample,l=a.alogObjectConfig.rand;d="https:"===a.location.protocol?"https://fex.bdstatic.com"+d:"http://fex.bdstatic.com"+d,k&&l&&l>k||(g(function(){alog("speed.set","lt",+new Date),e=b.createElement(c),e.async=!0,e.src=d+"?v="+~(new Date/864e5)+~(new Date/864e5),f=b.getElementsByTagName(c)[0],f.parentNode.insertBefore(e,f)}),j())}}(window,document,"script","/hunter/alog/dp.min.js");
</script>
</body><script type="text/javascript" src="//exp.bdstatic.com/static/common/pkg/common_sync_js_0_60a0dd5.js"></script>
<script type="text/javascript">require.resourceMap({"res":{"common-jquery:widget/lib/jquery/jquery.js":{"url":"//exp.bdstatic.com/static/common-jquery/widget/lib/jquery/jquery_250bf24.js","pkg":"common-jquery:p1"},"common:widget/lib/tangram/fx/move/move.js":{"url":"//exp.bdstatic.com/static/common/widget/lib/tangram/fx/move/move_4f6a3cf.js","pkg":"common:p1","deps":["common:widget/lib/tangram/base/base.js","common:widget/lib/tangram/fx/create/create.js"]},"common:widget/ui/red-bao/red-bao.js":{"url":"//exp.bdstatic.com/static/common/widget/ui/red-bao/red-bao_d2adb02.js","pkg":"common:p11","deps":["common:widget/lib/tangram/base/base.js","common:widget/ui/dialog/dialog.js"]},"common:widget/lib/tangram/ui/Carousel/Carousel.js":{"url":"//exp.bdstatic.com/static/common/widget/lib/tangram/ui/Carousel/Carousel_9ed0987.js","pkg":"common:p2","deps":["common:widget/lib/tangram/base/base.js","common:widget/lib/tangram/uiBase/uiBase.js"]},"activity:widget/ui/redbox/redbox.js":{"url":"//exp.bdstatic.com/static/activity/widget/ui/redbox/redbox_58a8c80.js","pkg":"activity:p2","deps":["common:widget/lib/tangram/base/base.js","common:widget/ui/dialog/dialog.js"]},"common-jquery:widget/lib/baidutemplate/baidutemplate.min.js":{"url":"//exp.bdstatic.com/static/common-jquery/widget/lib/baidutemplate/baidutemplate.min_2cf1e84.js","pkg":"common-jquery:p3"},"common-jquery:widget/js/ui/base/base.js":{"url":"//exp.bdstatic.com/static/common-jquery/widget/js/ui/base/base_366a7b8.js","pkg":"common-jquery:p2","deps":["common-jquery:widget/lib/jquery/jquery.js","common-jquery:widget/js/util/event/event.js"]},"common:widget/lib/tangram/base/base.js":{"url":"//exp.bdstatic.com/static/common/widget/lib/tangram/base/base_e37cc01.js","pkg":"common:p0"},"step:widget/header/header.js":{"url":"//exp.bdstatic.com/static/step/widget/header/header_6f356a6.js","pkg":"step:p0","deps":["common:widget/lib/tangram/base/base.js","common:widget/lib/fis/event/event.js","common:widget/ui/log/log.js","common-jquery:widget/lib/jquery/jquery.js","common-jquery:widget/js/logic/text2audio/text2audio.es"]}}});</script><script type="text/javascript" src="//exp.bdstatic.com/static/common/pkg/common_async_js_0_28055ad.js"></script>
<script type="text/javascript" src="//exp.bdstatic.com/static/common/pkg/common_sync_js_1_b781a69.js"></script>
<script type="text/javascript" src="//exp.bdstatic.com/static/common/pkg/common_sync_js_2_fa2e9a7.js"></script>
<script type="text/javascript" src="//exp.bdstatic.com/static/common/widget/monitor-js/monitor-js_f5d377f.js"></script>
<script type="text/javascript" src="//exp.bdstatic.com/static/common-jquery/pkg/framework_d2de9ff.js"></script>
<script type="text/javascript" src="//exp.bdstatic.com/static/common-jquery/widget/js/logic/shimingzhi/shimingzhi_4f92ad8.js"></script>
<script type="text/javascript" src="//exp.bdstatic.com/static/common-jquery/pkg/more_e6cee5f.js"></script>
<script type="text/javascript" src="//exp.bdstatic.com/static/common-jquery/pkg/base_2131826.js"></script>
<script type="text/javascript" src="//exp.bdstatic.com/static/common-jquery/widget/js/logic/error/error_ed451a4.js"></script>
<script type="text/javascript" src="//exp.bdstatic.com/static/common-jquery/widget/js/util/audio-list/audio-list_c5345f0.js"></script>
<script type="text/javascript" src="//exp.bdstatic.com/static/common-jquery/widget/js/logic/text2audio/text2audio_56668f7.js"></script>
<script type="text/javascript" src="//exp.bdstatic.com/static/activity/pkg/return_60f55cc.js"></script>
<script type="text/javascript" src="//exp.bdstatic.com/static/step/pkg/step_6c2197f.js"></script>
<script type="text/javascript">!function(){require.async('common:widget/baidu-tongji/baidu-tongji.js', function(b){ b.init('41294363314231957505'); });}();
!function(){require.async('common:widget/monitor-js/monitor-js.js', function (monitorJs) { monitorJs(); });}();
!function(){    require.async('step:widget/header/header.js', function (header) {
        header.init();
    });
}();
!function(){    require.async(['step:widget/step-item/step-img-wrapper/carousel.js'],function(carousel){
        var imgArr = [{"url":"https:\/\/imgsa.baidu.com\/exp\/w=480\/sign=2d038b9a30c79f3d8fe1e5388aa0cdbc\/0e2442a7d933c895357d561eda1373f082020050.jpg","src":"f7426d8da977391257254b04f3198618367ae212","type":"img","width":878,"height":101}]; 

        var index = '1';
        var loadImgUrl = '\/\/jingyan.baidu.com\/static\/exp_loading.gif';
        if(imgArr.length>1){
            carousel.init(index, imgArr, loadImgUrl);
        }
        
    });
}();
!function(){    require.async(['step:widget/step-item/step-img-wrapper/carousel.js'],function(carousel){
        var imgArr = [{"url":"https:\/\/imgsa.baidu.com\/exp\/w=480\/sign=91cf1cab9225bc312b5d00906ede8de7\/3ac79f3df8dcd100069b3144798b4710b9122f54.jpg","src":"0865b518972bd40789c01a9870899e510fb30915","type":"img","width":863,"height":74}]; 

        var index = '2';
        var loadImgUrl = '\/\/jingyan.baidu.com\/static\/exp_loading.gif';
        if(imgArr.length>1){
            carousel.init(index, imgArr, loadImgUrl);
        }
        
    });
}();
!function(){    require.async(['step:widget/step-item/step-img-wrapper/carousel.js'],function(carousel){
        var imgArr = [{"url":"https:\/\/imgsa.baidu.com\/exp\/w=480\/sign=bed7da2a952f07085f052b08d924b865\/9922720e0cf3d7ca42caf713f91fbe096b63a993.jpg","src":"3bb22487e950352aff5ded6d5843fbf2b2118b5c","type":"img","width":968,"height":90}]; 

        var index = '3';
        var loadImgUrl = '\/\/jingyan.baidu.com\/static\/exp_loading.gif';
        if(imgArr.length>1){
            carousel.init(index, imgArr, loadImgUrl);
        }
        
    });
}();
!function(){    require.async(['step:widget/step-item/step-img-wrapper/carousel.js'],function(carousel){
        var imgArr = [{"url":"https:\/\/imgsa.baidu.com\/exp\/w=480\/sign=9755faa6fc36afc30e0c3e6d8319eb85\/4d086e061d950a7b9612f9a201d162d9f2d3c9b5.jpg","src":"08b68e529822720e98e9559c70cb0a46f21fab76","type":"img","width":999,"height":202}]; 

        var index = '4';
        var loadImgUrl = '\/\/jingyan.baidu.com\/static\/exp_loading.gif';
        if(imgArr.length>1){
            carousel.init(index, imgArr, loadImgUrl);
        }
        
    });
}();
!function(){    require.async(['step:widget/step-item/step-img-wrapper/carousel.js'],function(carousel){
        var imgArr = [{"url":"https:\/\/imgsa.baidu.com\/exp\/w=480\/sign=322e537c6b59252da3171c0c049a032c\/2fdda3cc7cd98d10ea3ebd572a3fb80e7aec90ea.jpg","src":"f15e24292df5e0fe72f23867576034a85fdf72ab","type":"img","width":929,"height":409}]; 

        var index = '5';
        var loadImgUrl = '\/\/jingyan.baidu.com\/static\/exp_loading.gif';
        if(imgArr.length>1){
            carousel.init(index, imgArr, loadImgUrl);
        }
        
    });
}();
!function(){    require.async(['step:widget/step-item/step-img-wrapper/carousel.js'],function(carousel){
        var imgArr = [{"url":"https:\/\/imgsa.baidu.com\/exp\/w=480\/sign=a48adcd4b9b7d0a27bc90595fbee760d\/3b292df5e0fe9925b58fd9363fa85edf8cb171d0.jpg","src":"4075890a304e251f9c74549eac86c9177e3e5391","type":"img","width":1000,"height":109}]; 

        var index = '6';
        var loadImgUrl = '\/\/jingyan.baidu.com\/static\/exp_loading.gif';
        if(imgArr.length>1){
            carousel.init(index, imgArr, loadImgUrl);
        }
        
    });
}();
!function(){    require.async('step:widget/ui/brand-ads/brand-ads.js',function(ad_log){
        ad_log.init('');
    });
}();
!function(){    require.async(['common:widget/lib/tangram/base/base.js', 'step:widget/pager/pager.js'], function(T, pager){
        T.dom.ready(function(){
            pager.init(1);
        });
    });
}();
!function(){        F.context({
            //请求地址
            "common":'/common',
            "uoper": '/uoperation',
            "edit": '/edit/',
            "logo": 'http://img.baidu.com/img/iknow/exp/logo_uui.jpg',
            "comment": '/comment/',
                            "hi": 'https://imgsa.baidu.com/exp/abpic/item/',//空间缩略图片地址
                        "ucFollowing": '/user/nuc/following',
            "ucFavorexp": '/user/nuc/favorexp',
            "title": 'docker如何导入导出镜像',
            "isLogin" : 0,
            "username": '',
            "writerId": '',
            "maxFollowVote": 9999999,
            "eid": 'ce436649379e0a3772afd354',
            "isFavor":0,
            "expFavorNum": 7,
            "feedbackSuc": 1,
            "MAX_SUC_FAIL_TIMES": 999999,
            "stepPic": {"amount":6,"stepPic":[{"src":"https:\/\/imgsa.baidu.com\/exp\/pic\/item\/f7426d8da977391257254b04f3198618367ae212.jpg","stepIndex":1,"picIndex":1,"picIndexInStep":1,"type":"step"},{"src":"https:\/\/imgsa.baidu.com\/exp\/pic\/item\/0865b518972bd40789c01a9870899e510fb30915.jpg","stepIndex":2,"picIndex":2,"picIndexInStep":1,"type":"step"},{"src":"https:\/\/imgsa.baidu.com\/exp\/pic\/item\/3bb22487e950352aff5ded6d5843fbf2b2118b5c.jpg","stepIndex":3,"picIndex":3,"picIndexInStep":1,"type":"step"},{"src":"https:\/\/imgsa.baidu.com\/exp\/pic\/item\/08b68e529822720e98e9559c70cb0a46f21fab76.jpg","stepIndex":4,"picIndex":4,"picIndexInStep":1,"type":"step"},{"src":"https:\/\/imgsa.baidu.com\/exp\/pic\/item\/f15e24292df5e0fe72f23867576034a85fdf72ab.jpg","stepIndex":5,"picIndex":5,"picIndexInStep":1,"type":"step"},{"src":"https:\/\/imgsa.baidu.com\/exp\/pic\/item\/4075890a304e251f9c74549eac86c9177e3e5391.jpg","stepIndex":6,"picIndex":6,"picIndexInStep":1,"type":"step"}]},
            "BdStoken" : "2393eef99ebcce49e5da8ac6b46f0408",
            "bdstt" : "1590231460",
            'typeId': 2016
        });
        
        require.async(["common:widget/lib/tangram/base/base.js", "step:widget/ui/adjust-size/adjust-size.js", "step:widget/ui/step-album/step-album.js", "step:widget/ui/vote-favor/vote-favor.js", "step:widget/ui/user-guide/user-guide.js", "common:widget/ui/log/log.js"], function(T, adjustSize, stepAlbum, header, userGuide, log){
            T.dom.ready(function(){
                if(T.browser.ie && T.browser.ie == 6){
                    T.dom.setStyle("waiting-step-loading", "height", T.page.getViewHeight()-75);
                }
                if(F.context('isBrandAd')){
                    adjustSize.init({
                        'img-text-area-withhead':{
                            height: 360,
                            width:270,
                            spaceHeight:107
                        }
                    });
                }else{
                    adjustSize.init();
                }
                
                adjustSize.resize(1);
                T.hide("waiting-step-loading");
                T.on(window, "resize", function(){
                    adjustSize.resize();
                });
                userGuide.init();
                stepAlbum.init();
                header.init("vote-btn", "favor-btn", F.context("isFavor"));

                log.init({
                    query : 'a',        //需要绑定的标签元素，可选，默认为a标签
                    evtType : 'click',   //鼠标事件定义，可选，默认是click
                    type: F.context('typeId'),
                    page: 'step'
                });

                //左侧推广位
                /*LeftPromotion.init({
                    imgSrc: 'http://jingyan.baidu.com/event/img/hb92X240.gif',
                    url: 'http://jingyan.baidu.com/activity/hongbao201411?fr=step',
                    target: 'step-play-container'
                });*/
            });
        });
    }();
!function(){        require.async('common-jquery:widget/js/logic/https/https.es', function (https) {
            // 自动修复https里的超链接
            https.autoFixAnchor();
        });
    }();
!function(){    function monitorHTTPWarning(ignore) {
        var cache = {};

        var selector = ['link', 'script', 'img', 'embed', 'iframe'];
        var knownHost = ['jingyan.baidu.com', 'hm.baidu.com', 'exp.bdstatic.com', 'himg.bdimg.com', 'img.baidu.com', 'kstj.baidu.com', 'hiphotos.baidu.com'];

        function monitor() {
            selector.reduce(function (partial, v) {
                var arr = document.getElementsByTagName(v);
                for (var i = 0, len = arr.length; i < len; i++) {
                    partial.push(arr[i]);
                }
                return partial;
            }, [])
            .forEach(function (v) {
                var url = v.href || v.src || '';
                // 只统计http开头
                if (url.indexOf('http:') !== 0) {
                    return 1;
                }

                // 避免重复发请求
                if (cache[url]) {
                    cache[url] += 1;
                    return 2;
                }
                
                // 忽略已知域名
                if (ignore && knownHost.some(function (v) {return ~url.indexOf(v)})) {
                    return 3;
                }
                cache[url] = 1;
                var img = new Image();
                img.src = '//kstj.baidu.com/v.gif?'
                    + 'pid=180&type=2000&module=common&page=https&action=warning&t=' + Date.now()
                    + '&curl=' + encodeURIComponent(location.href)
                    + '&rurl=' + encodeURIComponent(url)
            });
        }

        // 1 8 27 64 125
        for(var i = 1; i < 6; i++) {
            (function (i){
                setTimeout(function(){
                    monitor();
                }, i*i*i*1000);
            })(i);
        }
    }

    if (Math.floor(Math.random() * 100) < 100) {
        monitorHTTPWarning(0);
    }
}();
!function(){    require.async('common-jquery:widget/lasting-time/lasting-time.es', function (LastingTime) {
        new LastingTime();
    });
}();</script><script>window['__abbaidu_2034_subidgetf'] = function () { var subid = 'exp_pc'; return subid; };</script><script async="" src="https://dlswbr.baidu.com/heicha/mw/abclite-2034-s.js"></script></html>